<template>
  <div class="box">
    <div class="cell">
      <van-cell
        is-link
        @click="openLink"
      >
       <span  ><i ><img   src="@/static/care/setting/lianxiwomen@2x.png" alt="" style="width:14px; height:14px; margin-right:10px"></i> 在线咨询</span>
      </van-cell>
      <van-cell
        is-link
        to="/hellp"
      ><span ><i ><img   src="@/static/care/setting/zaixianbangzhu@2x.png" alt="" style="width:14px; height:14px; margin-right:10px"></i> 在线帮助</span>
      </van-cell>
      <van-cell
        is-link
        to="/feedback"
      ><span  ><i ><img   src="@/static/care/setting/yijianfankui@2x.png" alt="" style="width:14px; height:14px; margin-right:10px"></i> 意见反馈</span>
      </van-cell>
      <van-cell
        is-link
        to="/activityPunch"
      >
       <span  ><i ><img   src="@/static/care/setting/daka@2x.png" alt="" style="width:14px; height:14px; margin-right:10px"></i>  活动打卡</span>
      </van-cell>
    </div>
  </div>
</template>

<script type="text/javascript">
import { Cell, } from "vant";
import 'dingtalk-jsapi/entry/mobile';
import openLink from 'dingtalk-jsapi/api/biz/util/openLink';
export default {
  data() {
    return {
      
    };
  },
  created(){
     dd.biz.navigation.setTitle({
        title:"关怀设置页"//控制标题文本，空字符串表示显示默认文本
      });
  },
  methods:{

   openLink(){
      dd.biz.util.openLink({ 
         url:'https://page.dingtalk.com/wow/dingtalk/act/serviceconversation?wh_biz=tm&showmenu=false&goodsCode=FW_GOODS-1001022591&corpId=dinge80295e68eac013d35c2f4657eb6378f&token=c1c062295d96d1b4e1d0b93d431ac6f4'
      })
   }  
  },
  components: {
    [Cell.name]: Cell,
  },
}
</script>
<style lang="less" scoped>
.box {
  height: 100vh;
  background: #fafafa;
  .cell{
    margin: 0 10px;
    box-shadow:0px 4.5px 2px 0px rgba(0,42,105,0.05);
    border-radius:5px;
    margin-top: 10px;
    /deep/.van-cell{
      padding: 3.5px 10px;
      font-size: 14px;
      text-align: left;
    }
  }
}
</style>